]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Set searchEntry offscreen-redirected always
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Wed, 23 Oct 2019 04:18:20 +0000 (12:18 +0800)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 29 Oct 2019 15:41:06 +0000 (15:41 +0000)
commitfa1b7a9ef526e8a7a53863de0c375eb20b576d86
tree0180d06f9f30e2d46ffb27a1c5a07040bd9c9456
parentb6e57a5ae8e3871161e2bdcc44e46af1cc56b2f7
overview: Set searchEntry offscreen-redirected always

This corrects weird-looking blending visible as it fades out when the
overview closes. Previously the entry's dark background would drown out
the text as it fades out, but now they maintain a consistent contrast ratio
during the fade.

There's no noticeable change in performance, but in theory it should be
faster as text entries don't change at full frame rate. So stage redraws
will usually have a cached searchEntry drawn and require less effort.
Though the main purpose here is to correct the appearance.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/778
js/ui/overview.js